import { injectReducer } from "../StoreUtil";
import InterfaceReducer from "./InterfaceReducer";

//测试
class NextReducer extends InterfaceReducer{
    
    constructor() {
        super({key: 'next', initState: {next: 1, before: 10}})   
    }

    aa = (value) => {
        return value ? {next: 100} : {next: -100}
    }

}

export default injectReducer(NextReducer)